//
//进制转换
// Created by PC on 2023/6/30.
//


#include <iostream>

using namespace std;

int main()
{
    int hexInt = 0xf;
    int octInt = 015; // 八进制前边写零
    int decInt = 15;
    printf("0xf==15:%d\n",(hexInt==decInt));
    printf("0xf==015:%d\n",(hexInt==octInt));
    printf("%o",octInt);
    return 0;
}